<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>鸡蛋</title>
</head>
<body>
            <script>
                var i = 0;
                var s = 7;
                while (s<1000){
                if (s % 2==1 && s % 3==1 && s % 4==1 && s % 5==1 && s % 6==1 && s % 7 ==0){
                    alert(s);
                    console.log(s);
                    break

                }
                    s = s +1
                }


            </script>
</body>
</html>